package day05;

import java.util.Scanner;

public class ArrayDemo {
    public static void main(String[] args) {
        Scanner sc = new  Scanner(System.in);
        int lo = sc.nextInt();
        int[] array = new int[lo];
        int[] array1 = new int[3];
        double[] darray = new double[20];
        char[] cdarray = new char[30];
        boolean[] barray = new boolean[26];

        array[0] = 5415;
        array1[0] = 100;
        array1[1] = 200;
        array1[2] = 300;
        System.out.println(array1[0]);

        int[] a = {1,2,3,4,5};
        int[] b = new int[]{1,2,3,4,5,6};
//        array = new int[]{1,2,3,40};
        for (int i = 0; i < array.length; i++) {
            if (array[i]!=0){
                System.out.println(array[i]+"\t");
            }else {
                array[i] = (int) (Math.random()*101);
                System.out.println(array[i] + "\t");
            }
        }


    }
}
